package com.jfs.security.authentication;

import org.springframework.security.core.GrantedAuthority;

/**
 * @Description 自定义权限集合
 * @E-mail cwm3412638@163.com
 * @Author cwm
 * @Date 2022/8/5
 */
public class GrantedAuthorityImpl implements GrantedAuthority {
    private String authority;
    private Integer value;

    public GrantedAuthorityImpl(String authority, Integer value) {
        this.authority = authority;
        this.value = value;
    }

    @Override
    public String getAuthority() {
        return this.authority;
    }
}
